package com.link.base.base.activity.service;

import com.link.base.base.activity.dao.mybatis.mapper.ActivityResultMapper;
import com.link.base.base.activity.model.ActivityResult;
import com.link.core.basic.dao.mapper.BasicMapper;
import com.link.core.basic.service.BasicServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
/**
 * Copyright  hande Company. All Rights Reserved.
 *
 * @author  unknwon
 * @date:   2018/11/8 9:41
 * @version 1.0
 */

@Service
public class ActivityResultServiceImpl extends BasicServiceImpl<ActivityResult> implements ActivityResultService {
    @Resource
    private ActivityResultMapper activityResultMapper;

    @Override
    public BasicMapper<ActivityResult> getBasicMapper() {
        return activityResultMapper;
    }

    @Override
    public void deleteBySessionId(ActivityResult record) throws Exception {
        activityResultMapper.deleteBySessionId(record);
    }
}
